qrisp.QuantumCircuit.from_qasm_file#

classmethod QuantumCircuit.from_qasm_file(filename)[source]#

Loads a QuantumCircuit from a QASM file.

Parameters:
filenamestring

A string pointing to a file obeying the OpenQASM syntax.

Returns:
QuantumCircuit

The corresponding QuantumCircuit.